/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package day01;

/**
 *
 * @author Administrator
 */
public class BaiTap {
    
  /*
   * Tinh n! ket qua tra ve so int
   */
    public int giaithua( int n){
        int p = 1;
        for(int i =1;i<=n;i++){
            p*=i;
        }
      return p;    
    }
    
    
    
}
